package cn.bugstack.domain.strategy.service.rule.chain;

import cn.bugstack.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * @Title: ILogicChain
 * @Description:
 * @author: jiangta
 * @date: 2024/10/29 下午5:30
 * @Version: 1.0
 */
public interface ILogicChain extends ILogicChainArmory {

    /**
     * 责任链接口
     * @param userId     用户ID
     * @param strategyId 策略ID
     * @return           奖品ID
     */
    DefaultChainFactory.StrategyAwardVO logic(String userId, Long strategyId);
}
